<cfcomponent extends="Model">

	<cffunction name="init">
		<cfset hasMany(name="TeamPlayer",modelName="TeamPlayer",foreignKey="playerID")>
		
		<cfset validatesPresenceOf("firstName,lastName")>
		<cfset validatesUniquenessOf(property="lastName",scope="firstName",message="Nmae has already been taken")>
	</cffunction>
		
</cfcomponent>